import { Injectable } from '@nestjs/common';
import { InjectRepository } from '@nestjs/typeorm';
import { UserWallet } from 'src/entities/UserWallet';
import { Repository } from 'typeorm';
import { BaseModelService } from '../base-model/base-model.service';

@Injectable()
export class UserWalletModelService extends BaseModelService<UserWallet> {
    constructor(
        @InjectRepository(UserWallet) protected repository:Repository<UserWallet>,
    ) {
        super()
        this.primaryKey = 'userId'
    }
}
